﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package net.wooga.pets.views.components.mainmenu {
    import net.wooga.pets.utils.*;

    public class InventoryTabDisplay extends AbstractTabView {

        public function addItem(_arg1:String, _arg2:int):InventoryScrollItem{
            var _local3:InventoryScrollItem = new InventoryScrollItem(_arg1, _arg2);
            m_scrollPane.addItem(_local3);
            _local3.enabled = false;
            return (_local3);
        }
        public function getItemByKey(_arg1:String):InventoryScrollItem{
            var _local2:Array = m_scrollPane.items;
            return (Arrays.findByAttribute(_local2, "key", _arg1));
        }
        override protected function initialize():void{
            cssID = "inventoryTabDisplay";
            super.initialize();
        }

    }
}//package net.wooga.pets.views.components.mainmenu 
